<template>
  <div>
    <!-- 图片懒加载 -->
    <div v-for="(item, index) in list" :key="index">
      <img class="img" v-lazy="item" alt="" />
      <!-- <img v-lazy="" :src="item" alt=""> -->
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      list: [
        "https://img0.baidu.coasdsdsddsdm/it/u=2862534777,914942650&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500",
        "https://img2.baidu.com/it/u=1814268193,3619863984&fm=253&fmt=auto&app=138&f=JPEG?w=632&h=500",
        "https://img0.baidu.com/it/u=530426417,2082848644&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500",
        "https://img1.baidu.com/it/u=3883901410,74560379&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=667",
        "https://img1.baidu.com/it/u=722430420,1974228945&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500",
        "https://img2.baidu.com/it/u=1572613686,938558453&fm=253&fmt=auto&app=120&f=JPEG?w=640&h=400",
        "https://img2.baidu.com/it/u=220990409,124547830&fm=253&fmt=auto&app=138&f=JPEG?w=889&h=500",
        "https://img0.baidu.com/it/u=4029944917,190937447&fm=253&fmt=auto&app=138&f=JPEG?w=750&h=500",
      ],
    };
  },
};
</script>

<style>
.img {
  width: 600px;
  height: 700px;
}
</style>